

// ignore_for_file: non_constant_identifier_names

import 'package:get/get.dart';
import 'package:verse_systems/commom/models/extend_model.dart';
import 'package:verse_systems/commom/models/payment_confirm_model.dart';
import 'package:verse_systems/commom/models/repayment_bank_info_model.dart';

class RepaymentState {
  

  PaymentConfirmModel?  payment =  PaymentConfirmModel().obs.value; 
   
  RepaymentBankInfo?  bankInfo =  RepaymentBankInfo().obs.value; 

  RepaymentDataBank?  dataBank =  RepaymentDataBank().obs.value; 

  //还款链接
  String ?repayment_bank_info_url = "".obs.value;  
 
 //还款类型 0 银行卡 1链接
  int? repayment_bank_info_type = 0.obs.value;

 //还款显示的额度
   String ?repayment_bank_info_repay_amount = "".obs.value;  

 // 还款倒记时 countdown 
  int repayment_bank_info_countdown  = 0.obs.value;

  // 还款账单详情ID
  String repayment_bank_info_repay_info_id  = "".obs.value;  
 
  // 还款凭证地址
  String repayment_bank_info_path  = "".obs.value; 


//  // {
// 	"code": 0,
// 	"message": "成功",
// 	"data": {
// 		"borrow_id": 6,
// 		"repay_id": 13,
// 		"repay_info_id": 25,
// 		"repay_amount": 4250,
// 		"countdown": 1697528840,
// 		"type": 0,
// 		"data": {
// 			"bank": {
// 				"bank_number": "请联系客服获取还款账号",
// 				"bank_name": "暂无",
// 				"real_name": "财务上班时间：10:00-22:00",
// 				"vouchers": false
// 			},
// 			"url": "https://www.baidu.com"
// 		},
// 		"notice": "新客还款页面\n您已严重逾期，性质恶劣，已经进入催收流程，即将联系你家人和好友，催促还款，\n并上报征信，将影响您住酒店和乘坐飞机高铁！\n请速联系客服协商处理！"
// 	}
// }

 // 还款文案
  String ?repayment_bank_info_notice = "".obs.value;  

 //上传凭证地址
 String repayment_bank_info_voucher = "".obs.value;

  
  //用户姓名   
  String real_name = "".obs.value; 
  //展期时间数组
  List extend_day = [].obs; 

  //展期天数
  String extend = "请选择展期天数".obs.value; 

  List<ExtendModel> extendList = <ExtendModel>[].obs; 
  
  RepaymentState() {
    ///Initialize variables
  }
}